<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统- 后台管理</title>
<link href="<%=basePath%>/css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=basePath%>/js/main.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/jquery/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/datepicker/WdatePicker.js"></script>
<script type="text/javascript">
	function checkRechargeFormForm(){
		var reg = new RegExp("^((-[0-9\.]+)|([0-9\.])*)$");
		
		if($("#totalFee").val()==""){
			alert("充值金额不能为空");
			$("#totalFee]").focus();
			return false;
		}
		
		if(!reg.test($("#totalFee").val())){
			alert("充值金额请输入数字!");
			$("#totalFee").focus();
			return false;
		}
		$("#rechargeForm").submit();
		parent.closeWin();
		return true;
		
	};
</script>
</head>
<body>
<div style="padding: 2px;">
	<form id="rechargeForm"  name="rechargeForm" action="<%=basePath%>/pay/goToAlipay.do" method="post" target="_blank" >
			<table width="500" border="1" cellpadding="1" cellspacing="0" bordercolor="#eeeeee">
				<tr>
					<td height=25>充值金额：</td>
					<td><input name="totalFee" type="text" class="input1" id="totalFee" value="1000" size="30" verify="NotNull" />元，<font color="red">*充值的支付手续费为： <b>暂无</b></font></td>
				</tr>
				<tr>
					<td height=25>收款单位：</td>
					<td>加天下信息技术（上海）有限公司</td>
				</tr>

				<tr align="center">
					<td colspan="2"><input type="button" onclick="javascript:checkRechargeFormForm();" value="下一步" />
						<input type='button' onclick="parent.closeWin();" value="取消" /></td>
				</tr>
			</table>

		</form>
	</div>
	</body>
</html>
